package com.hejielife.safecollect;

/**
 * 2019年8月1日 下午4:11:53
 * @author hejielife
 * @despribe CopyOnWrite演示和理解
 */
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.CopyOnWriteArraySet;

public class UseCopyOnWrite {

	public static void main(String[] args) {

		CopyOnWriteArrayList<String> cwal = new CopyOnWriteArrayList<String>();
		CopyOnWriteArraySet<String> cwas = new CopyOnWriteArraySet<String>();

	}
}
